module.exports = function (url) {
  return (req, res, next) => {
    if (req.originalUrl.startWith(url)) {
      req.originalUrl = url;
    }
    next();
  };
};
